package com.emep.changzhi.analyse.entity.basics;

import com.google.gson.annotations.Expose;
import io.swagger.annotations.Api;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author: LFY
 * @version:V1.0
 * @Description: 部门信息表
 * @Date: 2018/8/28 14:24
 */

@Data
@Entity
@Api(value = "数据库字典 - Department", description = "环保局部门表")
public class SysDepartmentInfo implements Serializable {

    @Expose
    @Id
    @GeneratedValue
    Long departmentId;

    @Expose
    String name;

    @Expose
    Long leaderId;

    @Expose
    Long epaId;

    @Expose
    private String isDelete = "0";

    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '录入时间'" )
    private String createDate = String.valueOf(System.currentTimeMillis());
}
